﻿using System.Data;
using Microsoft.AspNetCore.Mvc;

namespace orm.dapper.api.Controllers
{
    /// <summary>
    /// Dommel 基础控制器
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class DommelBaseController(IDbConnection dbConnection) : ControllerBase
    {
        public IDbConnection DbConnection { get; } = dbConnection;
    }
}
